using System.Data.Entity.ModelConfiguration;
using Nop.Core.Domain.Stores;

namespace Nop.Data.Mapping.Stores
{
    public partial class StoreTemplateMap : EntityTypeConfiguration<StoreTemplate>
    {
        public StoreTemplateMap()
        {
            this.ToTable("StoreTemplate");
            this.HasKey(p => p.Id);
            this.Property(p => p.Name).IsRequired().HasMaxLength(400);
            this.Property(p => p.ViewPath).IsRequired().HasMaxLength(400);
        }
    }
}